<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="flex.css" />
    <style>
        .pack {
            padding: 10px;
            background-color: #fbfdff;
            border: 1px dashed #c0ccda;
            border-radius: 6px;
            box-sizing: border-box;
        }

        .demo-block {
            text-align: center;
        }

        .demo-item {
            height: 60px;
            width: 60px;
            /* background-color: ;
            border: ; */
        }

        .demo-block>.demo-item:nth-child(1) {
            height: 50px;
            width: 50px;
        }

        .demo-block>.demo-item:nth-child(2) {
            height: 70px;
            width: 70px;
        }

        .demo-block>.demo-item:nth-child(3) {
            height: 60px;
            width: 60px;
        }
    </style>
</head>

<body>
    <div>
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex</div>
            </div>
            <div class="demo-block pack flex">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row</div>
            </div>
            <div class="demo-block pack flex-row">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-column</div>
            </div>
            <div class="demo-block pack flex-column">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row-space-between</div>
            </div>
            <div class="demo-block pack flex-row-space-between">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row-center</div>
            </div>
            <div class="demo-block pack flex-row-center">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row-end</div>
            </div>
            <div class="demo-block pack flex-row-end">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row-space-around</div>
            </div>
            <div class="demo-block pack flex-row-space-around">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-row-align</div>
            </div>
            <div class="demo-block pack flex-row-align">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-column-center</div>
            </div>
            <div class="demo-block pack flex-column-center">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-position-center</div>
            </div>
            <div class="demo-block pack flex-position-center" style="height: 160px;">
                <div class="demo-item pack">1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-1</div>
            </div>
            <div class="demo-block pack flex">
                <div class="demo-item pack flex-1">flex-1</div>
                <div class="demo-item pack">2</div>
                <div class="demo-item pack">3</div>
            </div>
            <div class="demo-block pack flex">
                <div class="demo-item pack flex-1">flex-1</div>
                <div class="demo-item pack flex-1">flex-1</div>
                <div class="demo-item pack flex-1">flex-1</div>
            </div>
        </div>
        <!--  -->
        <!--  -->
        <div>
            <div>
                <h3></h3>
                <div>.flex-basis-10,.flex-basis-20,.flex-basis-30....</div>
            </div>
            <div class="demo-block pack flex">
                <div class="demo-item pack flex-basis-10">flex-basis-10</div>
                <div class="demo-item pack flex-basis-20">flex-basis-20</div>
                <div class="demo-item pack flex-basis-30">flex-basis-30</div>
                <div class="demo-item pack flex-basis-40">flex-basis-40</div>
            </div>
            <div class="demo-block pack flex">
                <div class="demo-item pack flex-basis-50">flex-basis-50</div>
                <div class="demo-item pack flex-basis-30">flex-basis-30</div>
                <div class="demo-item pack flex-basis-20">flex-basis-20</div>
            </div>
        </div>
        <!--  -->
    </div>
</body>

</html>